!'use strict';
let backController = require('../../app/controller/back/BackController');
backController = ModelProxy(backController);
let router = require('express').Router();

// 首页（注意：是后台-首页）
let homepageRouter = require('./HomepageRouter');
router.use('/homepage', homepageRouter);
// 租单管理
let rentRouter = require('./rent/RentRouter');
router.use('/rent', rentRouter);
// 组织机构
let BootstrapRouter = require('./Bootstrap/BootstrapRouter');
router.use('/Bootstrap', BootstrapRouter);
// 统计分析
let StatisticRouter = require('./statistic-analysis/StatisticRouter');
router.use('/statistic', StatisticRouter);

// 个人信息
let memberCenterRouter = require('./MemberCenterRouter');
router.use('/memberCenter', memberCenterRouter);
// 后台主页
router.get('/', backController.backPage);

module.exports = router;
